package org.simple.mapper;

import com.baomidou.mybatisplus.plugins.Page;
import org.simple.domain.Tenant;
import com.baomidou.mybatisplus.mapper.BaseMapper;
import org.simple.query.TenantQuery;

import java.io.Serializable;
import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author zj
 * @since 2020-02-17
 */
public interface TenantMapper extends BaseMapper<Tenant> {

    List<Tenant> findByCon(Page<Tenant> page, TenantQuery query);

    void deleteTenantMeal(Serializable id);
}
